#import <Foundation/Foundation.h>
#import <AudioToolbox/AudioToolbox.h>
#import "Common.h"
#import "BoardCharSprite.h"

@interface Character : NSObject {
	NSString *name;
	float health;
	float speed;
	float damage;
	float weaponSpeed;
	float currentHealth;
	float score;
	float healthModifier;
	UIImage *image;
	UIImage *shellImage;
	NSArray *animationImages;
	BOOL good;
	int level;
	UIImageView *imageView;
	SystemSoundID shellShotSound;
	
	int rank;
	
	BoardCharSprite	*sprite;
	BOOL	animationCharacter;
}

@property (nonatomic, copy) NSString *name;
@property (nonatomic, assign) float health;
@property (nonatomic, assign) float speed;
@property (nonatomic, assign) float damage;
@property (nonatomic, assign) float weaponSpeed;
@property (nonatomic, assign) float currentHealth;
@property (nonatomic, assign) float score;
@property (nonatomic, assign) float healthModifier;
@property (nonatomic, assign) int rank;

@property (nonatomic, retain) UIImage *image;
@property (nonatomic, retain) UIImage *shellImage;
@property (nonatomic, assign) BOOL good;
@property (nonatomic, assign) int level;
@property (nonatomic, retain) UIImageView *imageView;
@property (nonatomic, retain) NSArray *animationImages;
@property SystemSoundID shellShotSound;
@property (readonly) BoardCharSprite *sprite;
@property (assign) BOOL animationCharacter;

- (id)initWithName:(NSString *)characterName isGood:(BOOL)isGood;

@end
